package com.hrt.datasender.web.protocol;

import java.util.List;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import com.btcode.web.core.annotation.RequestMapping;
import com.btcode.web.core.controller.Controller;

@RequestMapping(path = "Protocol")
public class ProtocolController extends Controller {

    @RequestMapping(path = "getList")
    public void getMinitorData(ServletRequest resq, ServletResponse res) throws Exception {
        List<MessageIdentityModel> protocols = ProtocolService.getInstance().getExistProtocol();
        success(protocols);
    }

}
